import Cookies from "js-cookie";

const KEY = "token_key";

export function getCookie() {
  return Cookies.get(KEY);
}

export function setCookie(value: string) {
  return Cookies.set(KEY, value);
}

export function removeCookie() {
  return Cookies.remove(KEY);
}
